export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  viewBtn: true,
  menuWidth: 450,
  column: [
    {
      type: 'input',
      label: '主键ID',
      prop: 'id',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '创建人',
      prop: 'createBy',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '修改人',
      prop: 'updateBy',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '创建时间',
      prop: 'createTime',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '更新时间',
      prop: 'updateTime',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '部门ID',
      prop: 'deptId',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '部门名称',
      prop: 'deptFullname',
      span: 12,
      display: false,
      hide: true
    },
    {
      type: 'input',
      label: '服务器地址',
      prop: 'address',
      span: 24,
      width: 135
    },
    {
      type: 'select',
      label: '状态',
      prop: 'status',
      span: 12,
      width: 60,
      value: 0,
      dicData: [
        {
          label: '正常',
          value: 0
        },
        {
          label: '禁用',
          value: 1
        }
      ]
    },
    {
      type: 'select',
      label: '加密方式',
      prop: 'encryMode',
      span: 12,
      value: 'RSA',
      width: 80,
      dicData: [
        {
          label: 'RSA加密',
          value: 'RSA'
        }
      ]
    },
    {
      type: 'textarea',
      label: '公匙',
      prop: 'publicKey',
      span: 24,
      width: 300
    },
    {
      type: 'textarea',
      label: '密匙',
      prop: 'privateKey',
      span: 24,
      hide: true
    },
    {
      type: 'input',
      label: 'CPU ID',
      prop: 'cpuId',
      width: 130,
      span: 12
    },
    {
      type: 'input',
      label: '主板ID',
      prop: 'mainBoard',
      width: 100,
      span: 12
    },
    {
      type: 'input',
      label: '硬盘ID',
      prop: 'diskId',
      width: 100,
      span: 12
    },
    {
      type: 'input',
      label: 'MAC地址',
      width: 140,
      prop: 'mac',
      span: 12
    },
    {
      type: 'select',
      label: '类型',
      prop: 'type',
      span: 12,
      value: '服务端',
      dicData: [
        {
          label: '服务端',
          value: '服务端'
        },
        {
          label: '客户端',
          value: '客户端'
        }
      ]
    },
    {
      type: 'select',
      label: '授权方式',
      prop: 'authorizationMethod',
      span: 12,
      value: '正式授权',
      dicData: [
        {
          label: '正式授权',
          value: '正式授权'
        },
        {
          label: '试用授权',
          value: '试用授权'
        }
      ]
    },
    {
      type: 'datetime',
      label: '开始时间',
      prop: 'startDate',
      format: 'yyyy-MM-dd HH:mm',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      span: 12
    },
    {
      type: 'datetime',
      label: '结束时间',
      prop: 'endDate',
      format: 'yyyy-MM-dd HH:mm',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      span: 12
    },
    {
      type: 'textarea',
      label: '备注',
      prop: 'remarks',
      span: 24
    }
  ]
}
